package cn.study.luckyinfrastructure.gateway.iml.mapper;

import cn.study.luckyinfrastructure.gateway.iml.dataObject.UserDB;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.mapstruct.control.MappingControl;

/**
* @author hp
* @description 针对表【bld_user】的数据库操作Mapper
* @createDate 2023-04-20 21:50:52
* @Entity cn.study.lduser.po.User
*/
@Mapper
public interface UserMapper extends BaseMapper<UserDB> {
    @Select("select * from bld_user where username=#{username};")
    UserDB findByUserName(@Param("id") Long id, @Param("username") String username);
}




